﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using DomainDriver.DomainModeling.DataProviders;

namespace DomainDriver.DomainModeling.Queries
{
    public class EmptyQuery<T> : IQuery<T>
    {
        private IDataProvider m_DataProvider;

        public EmptyQuery()
        { }

        public Func<T, bool> GetQueryPredicate(IDataProvider dataProvider)
        {
            m_DataProvider = dataProvider;
            return CheckForEmptyQueryMatch;
        }

        protected bool CheckForEmptyQueryMatch(T valueToCheck)
        {
            return true;
        }
    }
}